<?php

namespace App\Http\Controllers\Trade;

use App\Jobs\Trade;
use App\Http\Controllers\Controller;

class TradeController extends Controller
{
    //
    public function trade(){
        $job = new Trade();
        $job->dispatch(new Trade());//把任务分发到redis当中

        return '我是redis';
    }
}
